package com.mdd.common.enums;

import io.swagger.annotations.ApiModelProperty;

/**
 * 通知枚举类
 */
public enum DeptModelEnum {

    CITY_PARTNER(0, "城市合伙人"),
    VEHICLE_MANAGE(1, "智能车管") ,
    FIRST_DISTRIBUTION(2, "一级分销") ,
    SECOND_DISTRIBUTION(3, "二级分销") ,
    ;

    /**
     * 构造方法
     */
    private final int code;
    private final String msg;
    DeptModelEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }


    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public int getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }

}
